package com.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("cartmessage")
public class Cartmessage{
    @TableId(value = "cartId",type = IdType.INPUT)
    private int cartId;
    private String username;
    @TableField("itemid")
    private String itemId;
    private int number;
}